<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="true"
         android:drawable="@drawable/icon_online"/>    
    <item android:state_enabled="false"
         android:drawable="@drawable/icon_offline"/>  
              
 </selector>
 